import myAxios from '@/utils/requset'

// 获取标签列表
export const tagListService = () => myAxios.get('/tag')

// 删除标签
export const tagDelTagService = (id) => myAxios.delete(`/tag/${id}`)

// 新增标签
export const tagAddTagService = (data) => myAxios.post('/tag', data)

// 更新标签
export const tagUpdateTagService = (data) => myAxios.put(`/tag`, data)
